package com.mengmeng.demo.mapper;


import com.mengmeng.demo.user.application;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ApplicationMapper {
    @Select("select * from sso_application")
    List<application> getAllapp();
    @Delete("delete from sso_application where ssoid=#{ssoid}")
    boolean deleteBySSOId(Integer ssoid);

    boolean updateapp(application app);

    boolean inserteapp(application app);


    List<application> getBySSOId(int ssoid);
}
